home *** CD-ROM | disk | FTP | other *** search
- MS_MOUSE.LIB v1.0, another fine offering from Staben Technologies complementing
- ------------ the CLIPPER(tm) of both Shareware and Public Domain.
-
-
- MS_MOUSE.LIB
- (c) Staben Technologies
- c/o Matthew Staben
- 811 West 14th Avenue
- Spokane, WA 99204
- (509) 747-5600
-
-
- <<Shareware:>>
-
- MS_MOUSE.LIB is NOT "free". It is user-supported "shareware" and for continued
- use, a license is required. Since this library is a "programmer's aid" rather
- than a complete package some weird provisions have been taken care of.
-
- <<Licensing:>>
-
- When a license is bought, MS_MOUSE.LIB can be used freely by the one person who
- purchases the license. MS_MOUSE.LIB may exist on many different computers, as
- long as each "programmer" is then licensed to access the MS_MOUSE.LIB. The
- executable resulting from adding MS_MOUSE.LIB to your code is royalty free. It
- may be copied, shared, destroyed at the wish of the "programmer." Once you are
- licensed to access MS_MOUSE.LIB, you may modify, change, mangle, spindle the
- "object" as much as desired, as long as it is not for profit.
-
- Before the said license is bought, the "programmer" may distribute any code
- which uses MS_MOUSE.LIB as long as the said programmer is licensed within
- fifteen (15) days of distribution.
-
- The license for each "programmer" who will access MS_MOUSE.LIB is $15.00.
- When doing orders with more than one license, apply the following formula
- to calculate your licensing cost:
-
- ((no_licenses) * 15.00) - ((no_licenses - 1) * 3)
-
- 15.00 for one license, save $0.00
- 27.00 for two licenses, save $3.00
- 39.00 for three licenses, save $6.00
- 51.00 for four licenses, save $9.00
-
- No jokes, folks! Each license comes with a 1-year upgrade, if any, and for an
- additional $10.00 - $50.00, additional "libraries" to supplement the features
- (such as support for TBROWSE()) may be requested from Staben Technologies.
-
-
- <<Disclaimer:>>
-
- Staben Technologies does not guarantee, or attest to, the fitness,
- merchantability of this code. It does, however, guarantee that it will work
- on the following types of equipment:
-
- 1. IBM xt or *standard* clone with,
- 2. VGA or EGA monitor with video-character RAM.
-
-
- MS_MOUSE.LIB will *NOT* work for any systems which are monochrome, non EGA/VGA
- compatible.
-
- <<Whatsit?:>>
-
- MS_MOUSE.LIB is a library of mouse functions for CLIPPER (tm) 5.1 users,
- featuring:
-
- 1. Pixel-by-Pixel arrow-cursor movement on alphanumeric screens.
- 2. Pixel/Row-Column return values.
- 3. Quick Action. Programmed in pure assembly language.
-
-
- <<Syntax of MS_MOUSE.LIB>>
-
- In order to use MS_MOUSE.LIB, the MS_MOUSE.LIB must be made available as a
- library to your linker. MS_MOUSE.LIB may be moved into another library,
- extracted, whatever, as you see fit.
-
- MS_MOUSE.LIB is dependent on the "MICKEYSOFT"-MOUSE drivers, or their
- compatibles!
-
- FUNCTION RETURNS
- ======== =======
-
- MS_ON(expN) <- "ON"
-
- Turn on mouse cursor. MS_ON() will put a cursor at the last position
- it was on the screen. If MS_ON() is the initial "turn-on", the cursor
- will appear at the top-left corner of the screen, at coordinates 0,0.
- MS_ON() may only be used if MS_OFF() has been invoked, or it is the
- first time being invoked.
-
- The parameters, 0 or 1 are required. If "0" is used, the screen is
- assumed to be an 80x25 mode screen. If "1" is used, the screen is
- assumed to be an 80x43/50 mode screen.
-
- ie, MS_ON(0) <- "ON" - 80x25
- MS_ON(1) <- "ON" - 80x50
-
-
- MS_OFF() <- "OFF"
-
- Turn off mouse cursor. MS_OFF() will remove the cursor from the screen
- and halt all processing of mouse movements. MS_OFF() may only be used
- if MS_ON has been invoked.
-
-
- MS_XPPOS() <- expN
-
- Retrieve X-Pixel Position. MS_XPPOS() will return to a Clipper(tm)
- variable the current X position in PIXELS. MS_XPPOS()'s results
- can only be relied upon if MS_ON() has been invoked and is active.
- The pixel position is the location of the tip of the arrow cursor.
-
- MS_YPPOS() <- expN
-
- Retrieve Y-Pixel Position. The same conditions as MS_XPPOS() apply.
-
- MS_XPOS() <- expN
-
- Retrieve X-Column position. MS_XPOS() will return to a Clipper(tm)
- variable the current X position by columns as defined on the
- alphanumeric screen. MS_XPOS()'s results can only be relied upon
- if MS_ON() has been invoked and is active. The X position is the
- cell pointed to by the tip of the arrow cursor.
-
- MS_YPOS() <- expN
-
- Retrieve Y-Column position. The same conditions as MS_XPOS() apply.
-
- MS_BPOS() <- expN
-
- Retrieve button status. MS_BPOS() will return to a Clipper(tm)
- variable the current button status. MS_BPOS()'s results can only be
- relied upon if MS_ON() has been invoked and is active.
-
- Left button = 1
- Right button = 2
- Both buttons = 3.. etc. (this sample for mickeysoft)
-
-
- <<Last Word:>>
-
- These routines are of version 1.0 of the "CLIPPER(tm) MOUSE" series by
- Staben Technologies. Staben Technologies is a supporter of CLIPPER(tm), and
- will continue to produce quality works in order for those who use CLIPPER(tm)
- to find and expand their power and knowledge. Staben Technologies has a
- series of PUBLIC DOMAIN programs out for CLIPPER(tm) 5.0 and 5.1. These are:
-
- Clipper(tm) Windows - Memory-free windowing, written entirely in
- CLIPPER(tm) code. Objects only distributed.
- * Included in this package *
-
- Keyboard Interrupt - Interrupt your clipper(tm) program, stuff a key
- and trap it with your SET KEY procedure!
- Program it for continous, every second, every
- 10 seconds, etc...
-
- Get Real Environment - Clipper(tm) maintains a bogus copy of the
- environment. Any changes to it are not
- reflected by the built-in functions provided!
- This will return the REAL environment.
-
-
-
- Please write to Staben Technologies for any comments, requests, hints, or
- just plain thanks at any time.
-
- Matt Staben, Programmer
- Staben Technologies
- 811 West 14th Avenue.
- Spokane, WA 99204
- (509) 747-5600
-
-
- Staben Technologies will take requests for special programming only if it is
- deemed consequential to the general CLIPPER(tm) public. Staben Technologies
- will not write code for any organization unless it is non-proprietary.
-
-
- CLIPPER is a registered trademark of Nantucket, Inc.